import Home from '../component/Home/home'
import UserMsg from '../component/User-Msg'
import UserMusic from '../component/User-Music'
import Search from '../component/Search'
import DayRecom from '../component/Home/Day_Recom'
import FM from '../component/Home/FM'
import Rank from '../component/Home/Rank'
import MusicMenu from '../component/Home/Music_Menu'
import MoreSong from '../component/Home/More_Song'
import MoreDist from '../component/Home/More_dist' 

const routes = [
    {
        path: '/home',
        component: Home,
        exact: true,
        routes: [
            {
                path: '/home/DayRecom',
                component: DayRecom,
                exact: true
            },
            {
                path: '/home/Rank',
                component: Rank
            },
            {
                path: '/home/FM',
                component: FM
            },
            {
                path: '/home/MusicMenu',
                component: MusicMenu
            }
        ]
    },
    {
        path: '/UserMsg',
        component: UserMsg
    },
    {
        path: '/UserMusic',
        component: UserMusic
    },
    {
        path: '/Search',
        component: Search
    },
    {
        path: '/MoreSong',
        component: MoreSong
    },
    {
        path: '/MoreDist',
        component: MoreDist
    }
]
export default routes